{template "content","header_common"}
{template "content","header"}
{template "content","newsnav$modelid"}
<div id="main">
	<!-- start com_list_loop.html -->
	<div class="here"><a href="{siteurl($siteid)}">首页</a> > {catpos($catid)}</div>
	<div class="content_lb">
	{pc:content action="category" catid="$catid" num="9" siteid="$siteid" order="listorder ASC" return="data1"}
	{loop $data1 $r}
		<div class="pic_tit2 {$midarray[$modelid]['list']} b"><span><a href="{$r[url]}" target="_blank">{$r[catname]}</a></span></div>
		<ul class="news_list">
		{pc:content action="lists" catid="$r[catid]" num="6" order="id DESC"}
		{loop $data $r}
				<li><span>{date('Y/m/d H:i:s',$r[inputtime])}</span><a {if $n==1}class="b"{/if} href="{$r[url]}" target="_blank" title="{$r[title]}">{$r[title]}</a></li>
			{if $n%9==0}<li class="line01"></li>{/if}
		{/loop}
		{/pc}          
		</ul>
	{/loop}
	{/pc}		
	</div>
	<!-- end com_list_loop.html -->
	
    <div class="sidebar">
		{template "content","right$modelid"}
            
    
    <div class="areaA">  
        <div class="a_tit">
            <ul class="a_menu f_12" id="tab1">  
                <li onmouseover="setTab(1,0)" class="current"><span>24小时</span></li>
                <li onmouseover="setTab(1,1)"><span>周</span></li>
                <li onmouseover="setTab(1,2)"><span class="a_last">月</span></li>
            </ul>
            <span class="b {$midarray[$modelid]['list']}">文章排行</span>
        </div>  
        <div class="row_list" id="tab_cont1">
                        <ul style="display:block;">
							 {pc:content  action="hits" catid="$catid" num="10" order="dayviews DESC" cache="3600"}
								{loop $data $r}
									<li><span class="bg_blue">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
								{/loop}
							{/pc}                 
                        </ul>
                        <ul style="display:none">
                              {pc:content  action="hits" catid="$catid" num="10" order="weekviews DESC" cache="3600"}
								{loop $data $r}
									<li><span class="bg_blue">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
								{/loop}
							{/pc} 
                        </ul>
                         <ul style="display:none">
                              {pc:content  action="hits" catid="$catid" num="10" order="monthviews DESC" cache="3600"}
								{loop $data $r}
									<li><span class="bg_blue">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
								{/loop}
							{/pc} 
                        </ul>
          </div>
    </div>
 
    <div class="areaA">  
        <div class="a_tit">
            <ul class="a_menu f_12" id="tab2">  
                <li onmouseover="setTab(2,0)" class="current"><span>24小时</span></li>
                <li onmouseover="setTab(2,1)"><span>周</span></li>
                <li onmouseover="setTab(2,2)"><span class="a_last">月</span></li>
            </ul>
            <span class="b {$midarray[$modelid]['list']}">频道排行</span>
        </div>  
        
        <div class="row_list" id="tab_cont2">
                        <ul style="display:block;">
							 {pc:content  action="hits" catid="$top_parentid" num="10" order="dayviews DESC" cache="3600"}
								{loop $data $r}
									<li><span class="bg_blue">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
								{/loop}
							{/pc}                 
                        </ul>
                        <ul style="display:none">
                              {pc:content  action="hits" catid="$top_parentid" num="10" order="weekviews DESC" cache="3600"}
								{loop $data $r}
									<li><span class="bg_blue">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
								{/loop}
							{/pc} 
                        </ul>
                         <ul style="display:none">
                              {pc:content  action="hits" catid="$top_parentid" num="10" order="monthviews DESC" cache="3600"}
								{loop $data $r}
									<li><span class="bg_blue">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
								{/loop}
							{/pc} 
                        </ul>
          </div>
    </div>
	    <div style="float:left; margin-bottom:10px;" class="s_pic"><!-- 广告位：内容页1 300*250 -->{pc:block pos="list_6"}{/pc}</div>
    </div>
 </div>
{template "content","footer"}